package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.domain.TeaShop;
import com.ruoyi.system.domain.TeaShopEmployee;
import com.ruoyi.system.domain.TeaShopInventory;
import com.ruoyi.system.domain.TeaShopWorkPlace;

/**
 * 茶店信息Service接口
 * 
 * @author ruoyi
 * @date 2023-12-30
 */
public interface ITeaShopService 
{
    /**
     * 查询茶店信息
     * 
     * @param id 茶店信息主键
     * @return 茶店信息
     */
    public TeaShop selectTeaShopById(Long id);

    /**
     * 查询茶店信息列表
     * 
     * @param teaShop 茶店信息
     * @return 茶店信息集合
     */
    public List<TeaShop> selectTeaShopList(TeaShop teaShop);

    /**
     * 新增茶店信息
     * 
     * @param teaShop 茶店信息
     * @return 结果
     */
    public int insertTeaShop(TeaShop teaShop);

    /**
     * 修改茶店信息
     * 
     * @param teaShop 茶店信息
     * @return 结果
     */
    public int updateTeaShop(TeaShop teaShop);

    /**
     * 批量删除茶店信息
     * 
     * @param ids 需要删除的茶店信息主键集合
     * @return 结果
     */
    public int deleteTeaShopByIds(String ids);

    /**
     * 删除茶店信息信息
     * 
     * @param id 茶店信息主键
     * @return 结果
     */
    public int deleteTeaShopById(Long id);

    /**
     * 根据条件分页查询已分配员工列表
     */
    public List<TeaShopEmployee> selectAllocatedList(TeaShopWorkPlace teaShopWorkPlace);

    public int deleteAllocateEmployee(TeaShopWorkPlace teaShopWorkPlace);

    public int deleteAllocateEmployees(Long teaShopId, String employeeIds);


    /**
     * 根据条件分页查询未分配员工列表
     */
    public List<TeaShopEmployee> selectUnAllocatedList(TeaShopWorkPlace teaShopWorkPlace);

    public int insertUnAllocateEmployees(Long teaShopId, String employeeIds);

    public List<TeaShopInventory> selectTeaShopInventoryList(TeaShopInventory teaShopInventory);
}
